llvm-riscv64-fix-cffi
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 10 Jul 2021 21:52:37 +0000 (22:52 +0100)
committerAndreas Beckmann <anbe@debian.org>
Sat, 10 Jul 2021 21:52:37 +0000 (22:52 +0100)
commit09f7c2ee4761d1e34b733f415f2b77d11df3b595
treec7281e2da58939648ef3705d53efbbe60ba519ea
parentbb5f06080475929e0e53d337779c72e6f5cffc2f
llvm-riscv64-fix-cffi

commit c6b09bff5671600f8e764d3847023d0996f328d9
Author: Luís Marques <luismarques@lowrisc.org>
Date:   Thu Nov 14 18:27:42 2019 +0000

    [RISCV] Fix wrong CFI directives

    Summary: Removes CFI CFA directives that could incorrectly propagate
    beyond the basic block they were inteded for. Specifically it removes
    the epilogue CFI directives. See the branch_and_tail_call test for an
    example of the issue. Should fix the stack unwinding issues caused by
    the incorrect directives.

    Reviewers: asb, lenary, shiva0217
    Reviewed By: lenary
    Tags: #llvm
    Differential Revision: https://reviews.llvm.org/D69723

Gbp-Pq: Name llvm-riscv64-fix-cffi.diff
llvm/lib/Target/RISCV/RISCVFrameLowering.cpp